#include "GuiEvent.h"

StaticSubscriber::StaticSubscriber(void (*func)(void))
{
	function = func;
}

void StaticSubscriber::callback()
{
	function();
}

MemberSubsciber::MemberSubsciber(std::tr1::function<void()> f)
{
	func = f;
}

void MemberSubsciber::callback()
{
	func();
}